import request1 from "@/utils/request1";
// 卡券中心列表
export function getList(query) {
    return request1({
        url: "admin/card_ticket/ticket_list",
        method: "post",
        data: query
    });
}
// 列表switch开关
export function isOn(query) {
    return request1({
        url: "admin/card_ticket/ticket_onsale",
        method: "post",
        data: query
    });
}
// 列表删除
export function isDel(query) {
    return request1({
        url: "admin/card_ticket/ticket_del",
        method: "post",
        data: query
    });
}
// 领取数量弹窗
export function getNumList(query) {
    return request1({
        url: "admin/card_ticket/get_ticket_detail",
        method: "post",
        data: query
    });
}
// 关联项目弹窗
export function getProject(query) {
    return request1({
        url: "admin/card_ticket/project_list",
        method: "post",
        data: query
    });
}
// 创建优惠券
export function addCoupon(query) {
    return request1({
        url: "admin/card_ticket/ticket_add",
        method: "post",
        data: query
    });
}
// 发起人/合伙人银行卡管理
export function parnerList(query) {
    return request1({
        url: "admin/retail/users/partnerCard",
        method: "post",
        data: query
    });
}
// 医生列表
export function hospitalList(query) {
    return request1({
        url: "admin/retail/doctor/index",
        method: "post",
        data: query
    });
}
// 医生列表删除
export function hospitalDel(query) {
    return request1({
        url: "admin/retail/doctor/delete",
        method: "post",
        data: query
    });
}
// 远程搜索机构名称
export function getHospitalName(query) {
    return request1({
        url: "admin/retail/doctor/search_hospital",
        method: "post",
        data: query
    });
}
// 获取医生详情
export function getHospitaldetails(query) {
    return request1({
        url: "admin/retail/doctor/show",
        method: "post",
        data: query
    });
}
// 添加页面获取机构名称/医生职位/学历职称下拉选
export function getListName(query) {
    return request1({
        url: "admin/retail/doctor/create",
        method: "post",
        data: query
    });
}
// 医生列表添加保存
export function addList(query) {
    return request1({
        url: "admin/retail/doctor/store",
        method: "post",
        data: query
    });
}
// 医生编辑修改保存
export function editList(query) {
    return request1({
        url: "admin/retail/doctor/update",
        method: "post",
        data: query
    });
}
// 医生列表上下架
export function onShelf(query) {
    return request1({
        url: "admin/retail/doctor/on_shelf",
        method: "post",
        data: query
    });
}